package cn.iocoder.yudao.module.wine.controller.admin.businessuserlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 商家认证日志新增/修改 Request VO")
@Data
public class BusinessUserLogSaveReqVO {

    @Schema(description = "日志主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "10969")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22529")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "操作前状态", example = "1")
    private String beforeStatus;

    @Schema(description = "操作后状态", example = "1")
    private String afterStatus;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "操作类型不能为空")
    private Integer operateType;

    @Schema(description = "操作内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "操作内容不能为空")
    private String content;

    @Schema(description = "app用户编号", example = "22529")
    private Long appUserId;

}
